Service Operations
All SwitchYard Services, no matter what the implementation type, are composed of one or more Service Operations. As you might imagine, in the case of a Bean Service, the Service Operations are the set of Java methods exposed by the Service Interface.
There are a few restrictions when it comes to defining Bean Service Operations:
-
Declares a maximum of one Input type i.e. the Java method signature must have a maximum of one Java parameter.
-
Declares a maximum of one Output type. This is obviously enforced by the Java language since you can only define one return type on a Java method.
-
Declares a maximum of one Fault (Exception) type.